#ifndef COMMANDE_POSER_H
#define COMMANDE_POSER_H
#include "CommandesRobot.h"
class CommandesRobot;
class CommandePoser : public CommandesRobot{
	protected:
		Objet * _ancienObjet;
	public:
		static CommandePoser _instance;
		CommandePoser(Robot *r=NULL, string name="POSER"):CommandesRobot(r,name){
			if (r!=NULL)
				_ancienObjet =r->getObjet();
		}
		CommandePoser(string name):CommandesRobot(name){}
		CommandePoser* constructeurVirtuel(Robot * r){
			return new CommandePoser(r);
		}
		void execute();
		void desexecute();
		bool reversible();
};
#endif
